With the Google Calendar API I have the following error when creating an event. "code": 400, "message": "Parse Error"
I'm using PowerBuilder 2017 and Rest Object
Header : "content-type:application/json; charset=utf-8"
Url : POST
https://www.googleapis.com/calendar/v3/calendars/3uhk2ncgaugdu6lmegfkb7rnrk#group.calendar.google.com/events
Data :
{"summary":"[CARINE VĂ©ronique] A","description":"","visibility":"public","location":"","start":{"dateTime":"2020-07-03T15:30:00+02:00","timeZone":"America/Los_Angeles"},"end":{"dateTime":"2020-07-03T16:00:00+02:00","timeZone":"America/Los_Angeles"}}
Response : 400
{
"error": {
"errors": [
{
"domain": "global",
"reason": "parseError",
"message": "Parse Error"
}
],
"code": 400,
"message": "Parse Error"
}
}
Have any suggestions?
Regards
Thierry
Regard
Related
I am trying to subscribe to all user's calendars, but some calendars do not support this functionality.
Request:
POST https://www.googleapis.com/calendar/v3/calendars/{calendarId}/events/watch
Response:
{
"error": {
"errors": [
{
"domain": "calendar",
"reason": "pushNotSupportedForRequestedResource",
"message": "Push notifications are not supported by this resource."
}
],
"code": 400,
"message": "Push notifications are not supported by this resource."
}
}
How I can find out whether the current calendar support "watch"?
Does it corresponding to "accessRole" from calendar#calendarListEntry.accessRole
New users trying to setup logins that aren't #google.com are hitting issues using Google Identity Toolkit. This has been working fine for a long time so not sure what's up. Looks like this:
In the console seeing a 500 error coming back when calling this URL:
https://www.googleapis.com/identitytoolkit/v3/relyingparty/setAccountInfo?key=<key>
POST data:
{"email":"nlckeweo#sharklasers.com","displayName":"test","password":"password"}
API response:
{
"error": {
"code": 500,
"message": "Internal error encountered.",
"errors": [
{
"message": "Internal error encountered.",
"domain": "global",
"reason": "backendError"
}
],
"status": "INTERNAL"
}
}
While using Google Slides API request for batchUpdate request (ref: https://developers.google.com/slides/reference/rest/v1/presentations/request#createimagerequest), even when all images are valid, the library still throws this error, and it has been quite difficult to debug what exactly went wrong. I ensured image to be valid and matched requirements through Google API specs.
If there are better ways to catch specific details, please mention.
Error: Invalid requests[224].updatePageProperties: There was a problem retrieving the specified image.
at Request.DefaultTransporter.wrapCallback_ [as _callback] (/path/to/project/node_modules/google-auth-library/lib/transporters.js:85:15)
at Request.init.self.callback (/path/to/project/node_modules/request/request.js:186:22)
at Request.EventEmitter.emit (events.js:98:17)
at Request.readResponseBody (/path/to/project/node_modules/request/request.js:1081:10)
at Request.EventEmitter.emit (events.js:95:17)
at IncomingMessage.Request.onRequestResponse (/path/to/project/node_modules/request/request.js:1001:12)
at IncomingMessage.g (events.js:180:16)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
And error object looks like:
{
"cause": {
"code": 400,
"errors": [
{
"message": "Invalid requests[224].updatePageProperties: There was a problem retrieving the specified image.",
"domain": "global",
"reason": "badRequest"
}
]
},
"isOperational": true,
"code": 400,
"errors": [
{
"message": "Invalid requests[224].updatePageProperties: There was a problem retrieving the specified image.",
"domain": "global",
"reason": "badRequest"
}
]
}
Our application using google-identity-toolkit for authentication is receiving a 500 "backendError" from the verifyAssertion API. This occurs about 30% of the time and started happening about 1 week ago. 70% of the time the call succeeds. Our app has not changed in 6 months. Is there a broken server out there in the pool somewhere?
Error message:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "backendError",
"message": "Backend Error"
}
],
"code": 500,
"message": "Backend Error"
}
}
I am trying to get the 'cursor' value returned in a MQL query by following this example. Though my attempt produces the following error:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "invalid",
"message": "cursor is invalid.",
"locationType": "other",
"location": "parameters.cursor"
}
],
"code": 400,
"message": "cursor is invalid."
}
}
In the new API, the starting value for the cursor parameter is null, not the value true like before. Try this
Docs here
http://wiki.freebase.com/wiki/MQL_Read_Service