yuenling1995
Registered User.
- Local time
- Today, 01:23
- Joined
- Jan 22, 2020
- Messages
- 20
Jess
MajP sent me a PM asking me to look at this thread.
To save me time needing to read through the whole thread in detail, can you please summarise what the issue is.
Is it your code or have you downloaded and adapted it from somewhere - if so where?
Also have you checked whether the JSON file you are trying to upload is valid?
Hi islandogs! Thank you so much for taking the time to help me with this!
This is my code, I'm using Qualtrics API to generate survey distribution links and send emails to participants over Qualtrics.
In other words, I'm using HTTP request to send information to the qualtrics server with certain info (surveyID, messageID, etc.), and Qualtrics will generate survey links and send emails to participants in the mailing list.
I'm trying to call the http request in json format and run into this error:
Code:
{"meta":{"httpStatus":"400 - Bad Request","error":{"errorMessage":"Expected param not found: sendDate","errorCode":"RP_10"},"requestId":"563d7dd0-4dca-4ed6-8e6b-084b4078ed02"}}
My JSON body is like the following when I run the function:
Code:
{"Message":[{"fromEmail":"day2day%40chestnyc.org","fromName":"day2day","subject":"day2day%20Afternoon%20Survey"},{"sendDate":"2020-01-24T12:00:00Z"},{"messageId":"MS_3f7Y9QJmoQmR6q9","recipients":"MLRP_9oTXqBsMs6bdbpz","surveyId":"SV_4SAKPbbRMWxdVR3","expirationDate":"2020-01-24T16:00:00Z"}]}
Please let me know if you have any questions, thank you so much!
Best,
Jess