Web API- 502 error
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-11-21 12:07 PM
Hello,
Could you please help me on below query-
In my use case I have to do below steps through API connections:
1) Generate Token (Using username & Password and Post method).
2) Using generated token , Get all printer details(Using given headers and Get method)
I am able to generate token but when I am using same token with other headers, getting error code 502.

Output- Internal : Unexpected error Error during Web API HTTP Request
HTTP Status Code: 502
HTTP Response Content: <h2>Incomplete response received from application</h2>
I
Please help me on this.
Regards,
Bhawana
------------------------------
Bhawana Daultani
------------------------------
Could you please help me on below query-
In my use case I have to do below steps through API connections:
1) Generate Token (Using username & Password and Post method).
2) Using generated token , Get all printer details(Using given headers and Get method)
I am able to generate token but when I am using same token with other headers, getting error code 502.
Output- Internal : Unexpected error Error during Web API HTTP Request
HTTP Status Code: 502
HTTP Response Content: <h2>Incomplete response received from application</h2>
I
Please help me on this.
Regards,
Bhawana
------------------------------
Bhawana Daultani
------------------------------
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-11-21 12:16 PM
A 502 is a bad gateway error. You can read more about it here. This means you're traversing a gateway or proxy server in order to get to the actual target server, and the response the gateway/proxy received from the target server was not correct.
Have you tried testing this with Postman?
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Have you tried testing this with Postman?
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-11-21 01:35 PM
Hi Eric,
Yes I tried with Postman also, same error is coming.

------------------------------
Bhawana Daultani
------------------------------
Yes I tried with Postman also, same error is coming.
------------------------------
Bhawana Daultani
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-11-21 02:43 PM
Ok. This tells us it's likely an issue with the server you're trying to connect to. Is this a server within your own environment? If so, I'd suggest reaching out to your IT department or the owner of that server to see if they can review their logs to see what it thinks the issue is.
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
29-11-21 06:05 PM
yes it worked.
There was an issue with the api headers given by them.
Thanks.
------------------------------
Bhawana Daultani
------------------------------
There was an issue with the api headers given by them.
Thanks.
------------------------------
Bhawana Daultani
------------------------------
