Giving your agent tools : please help

It says the authorization is wrong but I am confident it’s correct. The thing is I started my exercises in my self hosted n8n and my self hosted crashed so I decided to move to free trial. does it affect the journey?

Welcome @Markzel_Pabula!

Switching instances is almost certainly the root cause. Your Header Auth credential still holds the API key from the old self-hosted instance, which won’t work on the cloud trial. Go to Credentials, delete the old Header Auth credential, and create a fresh one using your n8n cloud API key (find it under Settings > n8n API in your cloud dashboard). Reconnect it to the HTTP Request node and also confirm the URL in that node points to your cloud instance - not the old self-hosted URL.

Moving your workflows to a different instance will need to create the header credential on the new instance. That being said, all academy endpoints require you to send your assessment ID as a header parameter which you aren’t doing.

I know that. I made a new header credential using my assessment ID in the new instance

Your screenshot is not showing the assessment_id in your header.

I am using the generic credential type, look for generic auth type. it’s header and the header account is the assessment id

You need to use the x-api-key in the header auth and the assessment_id send the header parameter. Which is how all calls to the academy endpoints must be configured.

I did that already that’s why I am confused on the error.

Hello,

Please follow the instructions as outlined. You must have done the previous exercise that sets up the academy API key. You use that for the header auth and the x-assessment-id must be configured as a header parameter.

cheers,

thank you brother!