Getting error while passing the token to other endpoints in the custom node

Hi N8N team,
I have a created a custom node and created credentials for that. Using that credentials I can able to get the token for my login URL, after passing the token to other end point, I am getting error ““NodeApiError: Authorization failed - please check your credentials””
I have referred the baserow node for this implementation
Corresponding code:
So the error is coming from baserowapirequest() , i have placed the corresponding generic function, and changed the corresponding credentials in that function

Corresponding error message

Thank you

Hi @praveen, welcome to the community!

This error message is a hard-coded message meant for end users defined here and would be thrown when hitting a 401 status.

It seems your authentication information is simply rejected by the server you’re calling.

1 Like