Getting started with Analytics 1.4 APIs - Bad Request

Avatar

Avatar
Validate 1
Level 1
marcop40031311
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
marcop40031311
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
marcop40031311
Level 1

08-05-2018

Hello,

I am trying to make some initial requests to the Analytics API v1.4, and by doing so I am following the instructions listed on analytics-1.4-apis/postman at master · Adobe-Experience-Cloud/analytics-1.4-apis · GitHub


Rather than getting a correct response, I am getting the following error:

{

    "error": "Bad Request",

    "error_description": "Invalid created timestamp (''). Values should be in ISO-8601 format",

    "error_uri": null

}

May you please advice what is wrong?


Thank you very much for your help,

Marco

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 1
marcop40031311
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
marcop40031311
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
marcop40031311
Level 1

17-05-2018

Hello Rawsoft,

Thank you very much for your reply.

Actually, instructions on GitHub have been updated by Adobe 3 days ago. I have made a test following the new instructions and it works fine now.

Apparently there was some additional configuration to be done on Postman (i.e. creation of an Environment with a specific key) in order to make it work as specified in the documentation.

Thanks,

Marco

Answers (6)

Answers (6)

Avatar

Avatar
Ignite 1
Level 2
saml9443
Level 2

Likes

7 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Ignite 1
Level 2
saml9443
Level 2

Likes

7 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
saml9443
Level 2

16-10-2019

Did that - still getting the same error as all above.

Avatar

Avatar
Validate 1
Level 1
alessandrov9274
Level 1

Like

1 like

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Validate 1
Level 1
alessandrov9274
Level 1

Like

1 like

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
alessandrov9274
Level 1

30-10-2018

Ok, just for the record, one needs to SELECT the created environment too after creating it! (Upper right corner dropdown menu)

Avatar

Avatar
Validate 1
Level 1
alessandrov9274
Level 1

Like

1 like

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Validate 1
Level 1
alessandrov9274
Level 1

Like

1 like

Total Posts

21 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
alessandrov9274
Level 1

30-10-2018

marcop40031311

I'm having the same issue following instructions from here: analytics-1.4-apis/postman at master · AdobeDocs/analytics-1.4-apis · GitHub

Could you troubleshoot?

Avatar

Avatar
Level 1
sethb91186435
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
sethb91186435
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile
sethb91186435
Level 1

12-09-2018

Having the same issue.

Thanks,

Seth

Avatar

Avatar
Boost 1
Level 1
engti
Level 1

Likes

2 likes

Total Posts

2 posts

Correct reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile

Avatar
Boost 1
Level 1
engti
Level 1

Likes

2 likes

Total Posts

2 posts

Correct reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile
engti
Level 1

10-08-2018

Hi Marco,

I have followed the instructions on the Adobe Github page and am encountering the same error.

Could you let me know what you did to fix your issue.

Regards,

Robin

Avatar

Avatar
Give Back 10
Level 4
Rydal_Williams
Level 4

Likes

22 likes

Total Posts

72 posts

Correct reply

23 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Boost 5
View profile

Avatar
Give Back 10
Level 4
Rydal_Williams
Level 4

Likes

22 likes

Total Posts

72 posts

Correct reply

23 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Boost 5
View profile
Rydal_Williams
Level 4

17-05-2018

It seems you are calling one of the API methods that requires a timestamp or date range, the dates that you specify or DID NOT specify should be in ISO-8601 format and you can read more about that here ISO 8601 - Wikipedia  Format your dates as such and you will be fine.