Unable to post/add a new service kong enterprise edition 0.32

I am unable to add a service.

$ curl http://127.0.0.1:8001/services/ -H “Content-Type:application/json” -X POST -d ‘{“name”:“test”,“protocol”:“http”,“host”:“www.google.com”,“port”:8080}’

{“message”:“An unexpected error occurred”}

I tried adding consumers, apis etc. and all worked fine.

Not sure the enterprise edition has incorporated routes/services to its release yet. Others can probably confirm though but I would expect documentation here: https://docs.konghq.com/enterprise/0.32-x/getting-started/adding-your-api/ to be updated when they do.

Kong EE 0.32 does include Routes and Services - the Changelog https://docs.konghq.com/enterprise/changelog/ can be helpful for seeing what changes from version to version.

@divya_mittal now that Kong EE 0.33 is out, you may care to try that - it has many great improvements.

1 Like