Problem with initializing call in API connector for Ayrshare

Hi all,
I am trying to configure APi for Ayrhshare and I follow tutorial from Ayrshare on how to post with multiple images on multiple social accounts.
When I try to initialize the call the ERROR IS:
“There was an issue setting up your call.
Unable to resolve DNS for app.ayrshare”
Any suggestions?

Thanks

1 Like

The error tell you what to look for :wink:
A DNS error is an error in your URL that cannot be resolved. In your case, the url is missing the .com after ayrssare (or you should replace the / by .)

https://app.ayrshare.com/api/post
1 Like

Thanks Jici,
I made put . instead of /, but now this is the problem…

"There was an issue setting up your call.

Raw response for the API
Status code 400
{“status”:“error”,“errors”:[{“action”:“post”,“status”:“error”,“code”:164,“message”:“Error accessing the media. Please verify the media URL is accessible.”,“platform”:“facebook”}],“postIds”:[],“id”:“WwSAV2TQxfE33gRkluP3”,“refId”:“d794f07f903ce8eaecb28343abae0212c845d707”,“post”:“This is another TEST”}

And when I removed quotes from media file URL, the problem is…
"There was an issue setting up your call.

Raw response for the API
Status code 400

Error
Bad Request

There was an issue setting up your call.

Raw response for the API
Status code 400

Error
Bad Request

Quotes are needed. But the media parameter correct name is: mediaUrls

1 Like

Thank you very very much @Jici

1 Like