RSA API Erro 500 - archer

I'm trying to make content inclusion via the RSA Archer API, though it is returning me error 500 and the following message
{
     "Message": "An error has occurred."
}
How do I debug and identify this error?

With a 500 Error the first spot I'd check is making sure that the API is not a folder in IIS, and it's an application. Then check that it's using the same application pool as the parent (/RSAArcher or /Archer).
Without any further information on what call you're trying to make, or the code you're using to make that call, that's all I can suggest.

Related

Which is a correct HTTP status code for "Error creating resource"?

I'm developing an application with authentication, and i need to provide a appropriate status code if there is any error when registering an user, for example a database-related error.
I've been researching but i haven't found an appropriate status code.
The purpose of all HTTP errors is to communicate the operation failed. To pick the right HTTP error, you need to know why it failed.
"database-related error" sounds like a server-side bug or problem, so this is likely just a 500.

How to solve this error message to get access token using Sonos

I followed the sound experience guideline to set up environment and authorization. When I try to get a new access token, this error keeps popping up. I wasn't sure what it means. I'm following exactly the same step as the guide, This is the error:-
An error occurred while processing your request.
Reference #97.6d06d217.1539357275.34c5f2e

401 unauthorized error while creating object in back4app via Temboo

I am creating an object in parse (using back4app parse server for this).
I get the following error when I run the choreo in temboo.
A HTTP Error has occurred: The remote server responded with a status
code of 401. Typically this indicates that an authorization error
occurred while attempting to access the remote resource. The data
returned from the remote server was: {"error":"unauthorized"} . The
error occurred in the HTTPSend (Parse) step.
That 401 error might indicate that the Id or Keys are not correct. Maybe it could be a good idea to double check them.
Also, what is the host and path for the API Request that you're doing with Temboo (I'm not acquainted with it)? If you're not using the correct ones it might cause problems too.
Make sure you're reaching something like this:
https://parseapi.back4app.com/classes/Your_Class_Name

SEMRush API ERROR 135 :: API REPORT TYPE DISABLED

I have code which is calling SEMRush API and it is working fine for a while, and then suddenly I stared getting 403 on API call with SEMRush error:
ERROR 135 :: API REPORT TYPE DISABLED
The API endpoint which I am calling is:
http://us.api.semrush.com/?action=report&type=phrase_this&key={xxxxxx}&export=api&export_columns=Ph,Nq,Cp,Co,Nr&phrase=sport
I cannot find anything about this error in their documentation.
Please does anyone know what this error means and how to resolve it?
Try updating your API call to the newer method. According to their documentation the database is no longer a subdomain and rather a parameter.
So instead of http://us.api.semrush.com/?action=report&type=phrase_this&key={xxxxxx}&export=api&export_columns=Ph,Nq,Cp,Co,Nr&phrase=sport
Try http://api.semrush.com/?action=report&type=phrase_this&key={xxxxxx}&export=api&export_columns=Ph,Nq,Cp,Co,Nr&phrase=sport&database=us

"Sorry, an error occurred while processing this request" instagram api python-instagram

I'm using python-instagram library to get access to instagram api. But when I run my app (flask rest api application), my auth method which use InstagramAPI and get_authorize_login_url method raise 500 error:
raise OAuth2AuthExchangeError("The server returned a non-200 response for URL %s %s %s" % (url, response['status'], content))
OAuth2AuthExchangeError: The server returned a non-200 response for URL https://api.instagram.com/oauth/authorize?scope=basic&redirect_uri=http%3A%2F%2Fsocialservice.test.5-soft.com%3A8515%2Finstagram%2Fauth&response_type=code&client_id=c5095d88cee14bac91a9341e6e82ff8f 500 Sorry, an error occurred while processing this request.
In my local machine it works without any problems but in the production server with different IP I've got this problem.
I would be very appreciative if someone can help to solve me this problem
Thanks in advance,
Ron
Please clarify:
In my local machine it works without any problems but in the production server with different IP I've got this problem.
How can you be performing authorization on your local machine? Instagram's API requires a public url for redirect_uri.
Next, I haven't found any evidence to verify this, but I don't believe you can specify a custom port in your callback url (you've provided http://socialservice.test.5-soft.com:8515/instagram/auth).
Last, assuming it's your callback server that is the problem, that error usually occurs when you aren't returning the correct response back to Instagram. The server needs to echo out only the value of the GET parameter code as plaintext.
If I browse to here: http://socialservice.test.5-soft.com:8515/instagram/auth?code=test I get no response, which is likely the cause of your error.