Can't access a custom resource even after publishing it on ACS

Avatar

Avatar
Validate 1
Level 1
sovand24445972
Level 1

Like

1 like

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
sovand24445972
Level 1

Like

1 like

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
sovand24445972
Level 1

02-08-2019

Hi,

I have created one new custom resource(not an extended one, I named it Testtablesovan) and added three fields and published it. And I am trying to access that resource through the REST API like following:

To get all the data from the resource: GET https://mc.adobe.io/<org_name>/campaign/profileAndServicesExt/cusTesttablesovan

To post data from the resource: POST https://mc.adobe.io/<org_name>/campaign/profileAndServicesExt/cusTesttablesovan

But for all the cases, I am receiving the following error:

RST-360011 An error has occurred - please contact your administrator.

Error rc=-2003

Could anyone please help me on that?

PS,I have found out there are a lot of issues logged in the forum, but the workaround or fix is never mentioned.

Thanks,

Sovan

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 3
Employee
pulkit2304
Employee

Likes

48 likes

Total Posts

44 posts

Correct reply

25 solutions
Top badges earned
Give Back 3
Give Back
Boost 5
Boost 3
Boost 25
View profile

Avatar
Give Back 3
Employee
pulkit2304
Employee

Likes

48 likes

Total Posts

44 posts

Correct reply

25 solutions
Top badges earned
Give Back 3
Give Back
Boost 5
Boost 3
Boost 25
View profile
pulkit2304
Employee

06-08-2019

sovand24445972

Only Custom resources linked to the profile are available via ACS API's. The link to Profile can be direct or indirect(through another Custom Resource that is connected to profile). For example, Profile > Order > Product, Product will be available via API's.

Can you connect your custom resource to profile indirectly?

If not, define a link to Profile, it does not have to connect to any profile records has to have a relationship in the schema definition. This will define the API's at the time to Publication.

Thanks,

Pulkit

Answers (2)

Answers (2)

Avatar

Avatar
Boost 250
Employee
ramon_bisswanger
Employee

Likes

271 likes

Total Posts

397 posts

Correct reply

199 solutions
Top badges earned
Boost 250
Affirm 100
Give Back 25
View profile

Avatar
Boost 250
Employee
ramon_bisswanger
Employee

Likes

271 likes

Total Posts

397 posts

Correct reply

199 solutions
Top badges earned
Boost 250
Affirm 100
Give Back 25
View profile
ramon_bisswanger
Employee

03-08-2019

Hi Sovan,

Currently the ACS API only supports access/modification of resources linked to profile.

Is your custom resouce having a link to profile?

Avatar

Avatar
Validate 1
Level 1
sovand24445972
Level 1

Like

1 like

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
sovand24445972
Level 1

Like

1 like

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
sovand24445972
Level 1

05-08-2019

Hi,

Thanks for the answer.

The custom resource I am trying to access is not linked to profile. It is not really meant to be linked with Profile, I just wanted to create a resource, where we would like to store some data for an workflow to pick.

And FYI, I tested the cusLookup table to test storing some data, which worked fine for me, and I checked it is not linked to Profile either.

Is there any other way I can create some data table and store some data in columns, so an workflow can access those?

Thanks in advance.