Skip to content
This repository was archived by the owner on Jul 14, 2022. It is now read-only.

Troubleshooting common problems

Jeff West edited this page Sep 3, 2014 · 9 revisions
  • A possible source of error is using incorrect or expired app keys in your configuration. Make sure, for example, that your Twitter credentials are current.

  • If your app needs to parse a request body, be sure to place the bodyParser() before including the Apigee 127 middleware. Here is the recommended pattern:

      var a127 = require('a127-magic');
      var express = require('express');
      var app = express();
      app.use(express.bodyParser()); // Call this before including the a127.middleware()
      app.use(a127.middleware());
      app.listen(process.env.PORT || 10010);
    
Clone this wiki locally