Since 1 week max, i got this error when i try to create a test user.
https://graph.facebook.com/APP_ID/accounts/test-users?installed=false&name=profilname&locale=en_US&permissions=read_stream&method=post&access_token=APP_TOKEN
{
"error": {
"message": "An unknown error has occurred.",
"type": "OAuthException",
"code": 1
}
}
Authentication application type is WEB.
My other apps don't have this problem!
Related
I use Jhipster with react as frontend with loopback as server side, I should show custom error ( ex. tax code already present in the archive).
this is format error
{
"error": {
"statusCode": 422,
"name": "UnprocessableEntityError",
"message": "The request body is invalid. See error object `details` property for more info.",
"code": "VALIDATION_FAILED",
"details": [
{
"path": "partitaIva",
"message": "Partita Iva giĆ presente",
"code": "CUSTOM_ERROR",
"info": {}
}
]
}
}
There could be more errors too, like for a form.
I want to know how to display the error returned by server.
Running a POST with the following:
https://www.googleapis.com/admin/directory/v1/users/{{userid}}/aliases/
With the following as the body in JSON
{
"alias":"person#gsuite.company.com"
}
Im just getting the following error
{
"error": {
"code": 400,
"message": "Invalid Input: alias_email",
"errors": [
{
"message": "Invalid Input: alias_email",
"domain": "global",
"reason": "invalid"
}
]
}
}
I would love some help on this because its getting super frustratinu
Google Support Page
https://developers.google.com/admin-sdk/directory/v1/guides/manage-user-aliases
See comments above, but always give your secondary domains in Google Workplace an alias to the main domain and the domain alais will appear
I am facing an issue in calling Sabre Instaflights Search API Below are the two issues which I am facing.
No results if I send only departure date. https://api-crt.cert.havail.sabre.com/v1/shop/flights?origin=JFK&destination=LAX&departuredate=2019-01-30&onlineitinerariesonly=N&limit=10&offset=1&eticketsonly=N&sortby=totalfare&order=asc&sortby2=departuretime&order2=asc&pointofsalecountry=US
Below is the error response which i am getting.
{
"status": "Complete",
"reportingSystem": "RAF",
"timeStamp": "2019-01-22T13:33:45+00:00",
"type": "Application",
"errorCode": "WARN.RAF.APPLICATION",
"instance": "raf-darhlc005.sabre.com-8080",
"message": "No results were found"
}
Getting Date range error if the return date above 20 days https://api-crt.cert.havail.sabre.com/v1/shop/flights?origin=JFK&destination=LAX&departuredate=2019-01-30&returndate=2019-02-20&onlineitinerariesonly=N&limit=10&offset=1&eticketsonly=N&sortby=totalfare&order=asc&sortby2=departuretime&order2=asc&pointofsalecountry=US
Below is the error which I am getting.
{
"status": "NotProcessed",
"reportingSystem": "RAF",
"timeStamp": "2019-01-22T13:43:26+00:00",
"type": "Validation",
"errorCode": "ERR.RAF.VALIDATION",
"instance": "raf-darhlc006.sabre.com-9080",
"message": "Date range in 'departuredate' and 'returndate' exceeds the maximum allowed"
}
Please tell me how can fix these errors??
I try send request https://gmail.googleapis.com/gmail/v1/users/me/messages/ using Postman, but I get:
{
"error": {
"code": 500,
"message": "Internal error encountered.",
"errors": [
{
"message": "Internal error encountered.",
"domain": "global",
"reason": "backendError"
}
],
"status": "INTERNAL"
}
}
Could somebody help me with this issue?
Please use this tool[1] to check your domain, most likely there are some critical problems detected within this domain. Mail-flow is probably affected.
Also check this documentation[2] on domain nameservers.
[1]https://toolbox.googleapps.com/apps/checkmx/
[2]https://support.google.com/a/answer/2573637#H
I am trying to send segment doc manually using the CLI with example on this page: https://docs.aws.amazon.com/xray/latest/devguide/xray-api-sendingdata.html#xray-api-segments
I created my own Trace ID and also start and end time.
The command i used are:
> DOC='{"trace_id": "'$TRACE_ID'", "id": "6226467e3f841234", "start_time": 1581596193, "end_time": 1581596198, "name": "test.com"}'
>echo $DOC
{"trace_id": "1-5e453c54-3dc3e03a3c86f97231d06c88", "id": "6226467e3f845502", "start_time": 1581596193, "end_time": 1581596198, "name": "test.com"}
> aws xray put-trace-segments --trace-segment-documents $DOC
{
"UnprocessedTraceSegments": [
{
"ErrorCode": "ParseError",
"Message": "Invalid segment. ErrorCode: ParseError"
},
{
"ErrorCode": "MissingId",
"Message": "Invalid segment. ErrorCode: MissingId"
},
{
"ErrorCode": "MissingId",
"Message": "Invalid segment. ErrorCode: MissingId"
},
.................
The put-trace-segment keep giving me error. The segment doc comply with the JSON schema too. Am i missing something else?
Thanks.
I need to enclose the JSON with "..". The command that works for me was: aws xray put-trace-segments --trace-segment-documents "$DOC"
This is probably due an error in the documentation or that the xray team was using another kind of shell.