Category: Data Source
Updated

This solution is summarized from an archived support forum post. This information may have changed. If you notice an error, please let us know in Discord.

Do not display headers in API query return

Issue

I am trying to perform an authentication in an API using JWT in Appsmith. However, the header does not show the Authorization parameter with the token generated in JWT. Although I can see the return in the header in Postman, I cannot see it in Appsmith. I tried updating to version 1.8.4, but the error persists. I can see the header in a text field, but not in the header. It seems to be a bug, and an issue has been opened on GitHub to address it.

Resolution

The user was trying to perform an authentication in an API in Appsmith and expected the Authorization parameter with the token generated in the jwt to be returned in the header, similar to how it was returning in Postman. However, the user was unable to see the header in Appsmith, even after updating to version 1.8.4.

The user was asked to check the value of {{API_name.responseMeta.headers}} in order to see if the headers were being returned properly. The user was able to see the value of the header in a Text widget, indicating that the header was indeed being returned by the API.

It was determined that this was due to a bug, and an issue was opened on GitHub to provide a solution as soon as possible.