What is your goal?
My goal is to get the list of tags in the RPC
What is the problem?
Getting the
The request failed due to failure of a previous request. 400
What have you tried so far?
I have tried in my api in Postman, everything is working fine
But in the make it returns an unauthorised request, which means a token error
here is my Connection code
{
āurlā: āmyapi.comā,
āmethodā: āGETā,
āheadersā: {
āAuthorizationā: āBasic {{base64(parameters.email + ā:ā + parameters.password)}}ā,
āAcceptā: āapplication/jsonā
},
āresponseā: {
āaccessTokenā: ā{{body.accessToken}}ā,
"metadata": {
"type": "text",
"value": "{{body.email}}"
},
"error": {
"message": "[{{statusCode}}] {{body.message}}"
}
},
ālogā: {
āsanitizeā: [
ārequest.headers.Authorizationā,
āresponse.body.accessTokenā
]
}
}
Remote Procedure: Name of Tags : communication tab
{
āurlā: āmyapi.com/tagsā,
āmethodā: āGETā,
āheadersā: {
āAuthorizationā: āBearer {{connection.accessToken}}ā,
āAcceptā: āapplication/jsonā
},
āresponseā: {
āiterateā: ā{{body.data}}ā,
āoutputā: {
ānameā: ā{{item.name}}ā
}
}
}