apiaryio / api-blueprint

API Blueprint
https://apiblueprint.org
MIT License
8.65k stars 2.14k forks source link

embedding fails for subdomains with '.' in it. #390

Closed denizoguz closed 7 years ago

denizoguz commented 7 years ago

if subdomain contains . in it, embedding fails with following error:

{"statusCode":404,"message":"An error occurred, could not find the suite."}

You can reproduce the issue using following pen: http://codepen.io/denizoguz/pen/VbZKgV

netmilk commented 7 years ago

@denizoguz The subdomain in the Embed JS API shouldn't contain the "doc." part. Please refer to The Apiary Embedded Documentation JS API reference and the help page. Also, please keep in mind the Apiary Embedded documentation is part of the higher subscription plans.

As long as this isn't an API Blueprint project related issue, I'm closing it for now. Should you have any further questions please reach out to the Apiary Support directly in the application (under the question mark icon in the main navigation).

image