Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Getting redirect loop error to one of my Smart Docs pages

Not applicable

I created several Smart Docs pages to document several methods in my API. However, when going to the URL for one of those pages, I receive an error that says "This page has a redirect loop." The page eventually does redirect to my page, but with the following notification displayed across the top: "Oops, looks like this request tried to create an infinite loop. We do not allow such things here. We are a professional website!"

I was going to remove this particular Drupal node via the admin interface and then recreate it from scratch. However, I can't find any option for deleting methods and/or resources.

Is there a way to fix this redirect error? Or, is there a way to delete Drupal nodes via the admin pages?

Thanks for your help,

Michael

Solved Solved
0 5 585
2 ACCEPTED SOLUTIONS

Not applicable

SmartDocs creates a drupal node for each method. You can find it in the Content section "/admin/content".

After deleting the Drupal node(s) I recommend using SmartDocs to re-render those nodes.

1) Click on your SmartDocs model from the top admin menu or use this link

https://YOURSITE.com/admin/smartdocs/models/{{modelname}}/revisions/{{number}}

2) Select methods to render and click the Update button.

You can find more information on Smartdocs here:

http://apigee.com/docs/developer-services/content/using-smartdocs-document-apis

View solution in original post

In addition: Sometimes Drupal automatically adds redirects--to the very same node in some cases! (I know. Tremendously helpful.) A quick & dirty fix to the infinite loop issue is to Edit Drupal Node on the topic, scroll down to the URL Redirects section, and delete the offending redirect.

243-delete-redirect.png

View solution in original post

5 REPLIES 5