Skip to main content
Solved

OData Entity Paths Returns ODP_SERVICE_IS_NOT_ACTIVE


Forum|alt.badge.img+4

Our IFS cloud deployment of 23R2 is working fine. I’ve been using the OData APIs to build integrations with external software. So far, all of the paths I have used are for projections, with some form of:


/main/ifsapplications/projection/v1/CustomerOrderHandling.svc

However now I’m trying to use some entity paths like this:

/int/ifsapplications/entity/v1/CustomerOrderEntity.svc

These are failing with this response:
 

{

  error: {

    code: "ODP_SERVICE_IS_NOT_ACTIVE",

    message: "Service is not active."

  }

}

Anyone know how to resolve this?

Thanks,

-Chris

Best answer by kvbe

hi Chris,

You have to enable them in IFS they are disabled by default

 

https://docs.ifs.com/techdocs/24r1/040_tailoring/300_extensibility/020_api_explorer/010_navigate/#entity_service_administration

 

 

 

 
View original
Did this topic help you find an answer to your question?

5 replies

Forum|alt.badge.img+10
  • Hero (Partner)
  • 189 replies
  • Answer
  • July 22, 2024

Forum|alt.badge.img+4
  • Author
  • Do Gooder (Customer)
  • 7 replies
  • July 22, 2024

@kvbe Now that the entity endpoint I needed is activated, I’m getting this error:

  "error": {
    "code": "SE_UNAUTHORIZED",
    "message": "Insufficient privileges.",
    "internal": 2
  }

Even though it appears that the service account associated with my IAM client has all permissions. Any tips on what would be missing? I’m currently trying to access this entity service:

CustomerOrderChargeEntity.svc/CustomerOrderChargeSet

 


Forum|alt.badge.img+1
  • Do Gooder (Partner)
  • 6 replies
  • November 9, 2024

I'm having the same problem with another service and I don't know why, even though everything seems fine as far as rights are concerned. In my case, I'm able to query the data but not create it with the POST method.
Have you solved your problem? If so, could you please explain how?


Forum|alt.badge.img+1
  • Do Gooder (Partner)
  • 6 replies
  • November 9, 2024

I am replying to my message. My problem apparently came not from a problem of user rights privilege but rather from my json file format which was apparently not correct since following new tests it works without problem.


Forum|alt.badge.img
  • Do Gooder (Partner)
  • 2 replies
  • December 11, 2024

Just like Chris described above, I see the error "SE_UNAUTHORIZED" when accessing an entity-service and I am at a loss.

The API is enabled, permissions are correct and there is nothing wrong with the JSON-payload.

Does anyone know what else might be the problem?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings