-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] publishing a select API fails with "code":"ResourceNotFound","message":"Api not found.","details":null
#494
Comments
|
@shawnyu5 - can you enable trace logging and share those logs? Should show the URL and contents of your API PUT request. Make sure to sanitize the contents of the log file prior to sharing here. |
Here are the relevant logs, from the API that fails to publish. Note I have changed the name of the actual API in the logs
|
@shawnyu5 - thanks. Can you also include the payload of the PUT request that fails? In your logs, you should see something like:
We're looking for the payload associated with the failing URL in the exception. |
Got it, here are the full logs:
|
@shawnyu5 - according to the logs, it can't find the API information file associated with that specification file. Your first comment does show that file present though. Can you send a zip file with the contents of |
Ahhh, just realized the Thanks for the help! |
Release version
v5.1.1
Describe the bug
Publishing an API with the following file structure fails with the following error:
However when I rename the API, by renaming the API folder. And updating
displayName
in apiInformation.json andinfo.title
in specification.json, the error goes away, but the renamed API is not published.This error also only happens with this specific API, this error does not happen when publishing any other API.
Expected behavior
The API should publish successfully.
Actual behavior
API fails to publish.
Reproduction Steps
Attempt to publish an API with the above file structure.
The text was updated successfully, but these errors were encountered: