Date format error

cancel
Showing results for 
Search instead for 
Did you mean: 
renatoc1
Active Member II

Date format error

I'm trying to access "Shared-links" APIs, but I'm getting the error:

 Cannot deserialize value of type `java.util.Date` from String \"2022-12-28T00:00:00.000+00:00\": not a valid representation (error: Failed to parse Date value '2022-12-28T00:00:00.000+00:00': Unparseable date: \"2022-12-28T00:00:00.000+00:00\")\n at [Source: (BufferedReader); line: 1, column: 62] (through reference chain: java.lang.Object[0]->org.alfresco.rest.api.model.QuickShareLink[\"expiresAt\"])"

The example of documentation is 

{ "nodeId": "1ff9da1a-ee2f-4b9c-8c34-3333333333", "expiresAt": "2017-03-23T23:00:00.000+0000" }

It's not working.

 

1 Reply
sanjaybandhniya
Intermediate

Re: Date format error

Please provide which api you are trying with body.