cancel
Showing results for 
Search instead for 
Did you mean: 

Error appiot.attributeAuthFail in SAP IoT Application Enablement

0 Kudos

Hello erveryone,

I am trying to connect my thing with the device, after configuring everything, i get the following error. appiotattributeauthfail.png

Meanwhile in the Data Ingestion Error Log, i get no error data-ingestion-error-log.png

anyone has any suggestion.

Thanks & Regards

Youssef Namil

appiotattributeauthfail.png

data-ingestion-error-log.png

Accepted Solutions (0)

Answers (2)

Answers (2)

marcus_behrens
Advisor
Advisor
0 Kudos

Hi,

for one you might be better of using the new meta-model when you create a new thing type. Then you would go for the Thing_Engineer_Odata role when using the new Odata meta-model. Only with the Odata thing modeler and apis yo can make use of the flexible mapping and also all upcoming new improvements. Since end of January all features work around odata thing modeles end-to-end - also the web ide.

Secondly in both cases other then the functional scope you also have to assign your role collection to the capabilities for thing, business partner and person. So you might be ok from a functional scope to creat a thing but additionally you have to setup the instance-based authorization such that you are allowed to create or delete things.

Regards, Marcus

IG1
Active Participant
0 Kudos

Thanks Marcus,

When we map user with Thing_Engineer_Odata role and remove iotas_Thing_Engineer_Fiori_Launchpad, we don't see a option to select sensors from IOT service cockpit.

I have verified role collections to capabilities and authorization seems to be in place. please have a look at attached pictures.

Question- in capabilities , i have already checked the box for UNRESTRICTED, as per my understanding this should allow me to create things for any authorization group. , is there any other place, where we need to give authorization specific to authorization group even after unrestricted checkbox is selectederror1.pngerror2.png

IG1
Active Participant
0 Kudos

attaching pictures of capabilities authorizationauth1.pngauth2.png.

marcus_behrens
Advisor
Advisor
0 Kudos

Looks like you might be missing some roles in your role collection - the error messages seems to come from creating the mapping, not from ingestion.

Ingestion error log shows content only if you connection between iot service and iot ae has been setup via a ticket - see the getting started documentation for iot service.

IG1
Active Participant
0 Kudos

Hi Marcus,

We are also facing the same issue. you are correct , it seems like a authorization issue. but by following the help guides, we have assigned all the roles.

roles-assigned.png

do we have any specific roles to be assigned to overcome the issue.