- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Unexpected error occurred calling export REST service in sandbox
Hi,
I'm testing this service in sandbox:
POST https://rest.apisandbox.zuora.com/v1/object/export
Body:
{
"Format": "csv",
"Name": "test_Export_1476935164445",
"Query": "select * from account",
"Status": "Processing",
"Zip": true
}
Response:
400 BAD REQUEST
Body:
{"message":"An unexpected error occurred"}
Same problem testing /action/query service.
Someone can help me, please?
Thanks.
P
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Unexpected error occurred calling export REST service in sandbox
Hi @pfranzoni Let me look into this and get back to you. Thanks!
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Unexpected error occurred calling export REST service in sandbox
I am having the same issue today....almost every post/get.
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Unexpected error occurred calling export REST service in sandbox
hi @pfranzoni
Just wanted to circle back and see if you still needed assistance. Feel free to holler if you need. Thanks!
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Unexpected error occurred calling export REST service in sandbox
Hi pfranzoni,
I did a quick test with Postman and the call was successful. Below is my test info:
Endpoint: https://rest.apisandbox.zuora.com/v1/object/export
Request:
{ "Format": "csv", "Name": "test_Export_1476935164445", "Query": "select * from account", "Status": "Processing", "Zip": true }
Response:
{ "Success": true, "Id": "2c92c0f85d5964dc015d7bf3973257e3" }
May I ask if you can try Curl and see whether the call is successful? Below sample is from our documentation here.
curl -X POST -H \"apiAccessKeyId: dummyUser\" -H \"apiSecretAccessKey: dummyPassword\" -H \"Content-Type: application/json\" -d '{\n \"Format\": \"csv\", \n \"Name\": \"test_Export_1476935164445\", \n \"Query\": \"select * from account\", \n \"Status\": \"Processing\", \n \"Zip\": true\n}' \"https://rest.zuora.com/v1/object/export\"
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √