Happy Business Starts Here

My API call has been working before, why am I keep getting 400 now? I am using Advanced REST Client

Highlighted
Zuora Staff

My API call has been working before, why am I keep getting 400 now? I am using Advanced REST Client

Problem:

I have been using the same REST API call via Advanced REST Client, a Google Chrome Extension. It's been working fine, now I keep getting error 400 Bad Request, why are my calls failing?



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Zuora Staff

Re: My API call has been working before, why am I keep getting 400 now? I am using Advanced REST Cli

Solution:

Potentially it might have to do with caching issues. There are 2 things you can try to get around this to confirm:

 

1, Use CURL command or Postman (another Chrome Extension) to bypass ARC to isolate whether the issue is on Zuora side or the tool side.

2, Clear your browswer cache and try again

 

 

Supporting Documentation:

https://www.lifewire.com/how-to-fix-a-400-bad-request-error-2617988

https://www.zuora.com/developer/api-reference/



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

View solution in original post

4 REPLIES 4
Highlighted
Zuora Staff

Re: My API call has been working before, why am I keep getting 400 now? I am using Advanced REST Cli

Solution:

Potentially it might have to do with caching issues. There are 2 things you can try to get around this to confirm:

 

1, Use CURL command or Postman (another Chrome Extension) to bypass ARC to isolate whether the issue is on Zuora side or the tool side.

2, Clear your browswer cache and try again

 

 

Supporting Documentation:

https://www.lifewire.com/how-to-fix-a-400-bad-request-error-2617988

https://www.zuora.com/developer/api-reference/



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

View solution in original post

Highlighted
Zuora Staff

Re: My API call has been working before, why am I keep getting 400 now? I am using Advanced REST Cli

Hi Patrick,

 

Can I ask for an example of the json content that was working before, but is failing now? With any sensitive data removed, of course.

Highlighted
Partner

Re: My API call has been working before, why am I keep getting 400 now? I am using Advanced REST Cli

Hello,

we have the same problem using SOAP API.

The api works properly but without any code change sometimes it returns "Bad Request".

Have you any solution?

Highlighted
Newly Enrolled

Re: My API call has been working before, why am I keep getting 400 now? I am using Advanced REST Cli

The 400 Bad Request error is an HTTP status code indicates that the request you sent to the webserver was malformed , in other words, the data stream sent by the client to the server didn't follow the rules. It means that the request itself has somehow incorrect or corrupted and the server couldn't understand it. The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method . Therefore, it prevents the website from being properly displayed. There are a number of different causes for a 400 Bad Request Error . It might be a malformed request syntax, invalid request message framing, or deceptive request routing . In most cases, the problem is on the website itself, and there's not much you can do about that. To fix a 400 Bad Request error it is best to start diagnosing the issue from the client side itself. Complete the steps outlined in this section to help diagnose and correct the error.

Check for errors in the URL.
Clear Browser Cache and cookies.
Clear DNS Cache.
Check your File upload Size.
Deactivate Browser Extensions.
Contact the site owner to report the 404 error.