Skip to content

Instantly share code, notes, and snippets.

@DoctorNasa
Created March 6, 2019 07:52
Show Gist options
  • Save DoctorNasa/86a14a1a997ea4b50d1397f2ea370752 to your computer and use it in GitHub Desktop.
Save DoctorNasa/86a14a1a997ea4b50d1397f2ea370752 to your computer and use it in GitHub Desktop.
Hbot
{"data":"Something went wrong. Please try again. \n{\"message\":\"Permissions error\",\"type\":\"OAuthException\",\"code\":200,\"error_subcode\":1373034,\"is_transient\":false,\"error_user_title\":\"Insufficient Permission\",\"error_user_msg\":\"You do not have the necessary permission for the specified Page to perform the requested action.\",\"fbtrace_id\":\"Agh4kn5yEEC\"}","status":500,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"url":"https://api-my.hbot.io/v1/graph/facebook/subscribed_apps","data":{"bot_id":"5b594d71db615b5c57aed2dc","page_name":"คลินิกทันตกรรม ศรีสุ ...","page_id":"183910861660558","access_token":"EAAadxs0eBZBUBAFrxBUnJeYs46qVNZCQGEVOrcoW7dLkk4uH1IiqHXSP9bZCaiWuMkSK6D9ZByQZCG2Up6gFZBqtF1JkxKh3e8YdFzcqacMXqzs7UqXUQhgFOigyvwdko6ipNxDbdPNdaZAJRgDZAE4jzUnDjDpDcPTxMKrLZClsQBxkZAd70vA9wZASm9ZC0rWICKoZD"},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json;charset=utf-8"}},"statusText":""}
@DoctorNasa
Copy link
Author

{"data":"Something went wrong. Please try again. \n{\"message\":\"Permissions error\",\"type\":\"OAuthException\",\"code\":200,\"error_subcode\":1373034,\"is_transient\":false,\"error_user_title\":\"Insufficient Permission\",\"error_user_msg\":\"You do not have the necessary permission for the specified Page to perform the requested action.\",\"fbtrace_id\":\"CGMNUotgUXt\"}","status":500,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"url":"https://api-my.hbot.io/v1/graph/facebook/subscribed_apps","data":{"bot_id":"5b594d71db615b5c57aed2dc","page_name":"คลินิกทันตกรรม ศรีสุ ...","page_id":"183910861660558","access_token":"EAAadxs0eBZBUBAEXp8vwcnAr9pateoRqUuM3rBuT1nRvNcGe9zS7ZCqOodsIsh4XjXylBM06vbetmL21s2x99ZBf3tbUIiCfVVCcX82uaTlvv5MzZB9iVHjRB0VnieCKByCGnsxZBPaxKXofSPt0lPZAZA76ZA1DcGYZCZA4HpIyhR4l2lqqS4Ms9NEwhxJmGs0qMZD"},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json;charset=utf-8"}},"statusText":""}

@DoctorNasa
Copy link
Author

`version: '3.1'
services:
mongodb-service:
image: mongo:3.6.0
restart: always
ports:
- "27017:27017"
volumes:
- creator-server-mongodb-data:/data/db

creator-server:
build: .
ports:
- "5000:5000"
restart: always
command: ["npm", "run", "start:dev"]
volumes:
- ./:/home/node/app
- ./env/development:/etc/firebase-service-account
- node-module:/home/node/app/node_modules
environment:
- MONGODB_HOST=mongodb-service
- MONGODB_PORT=27017
- MONGODB_USR=
- MONGODB_PWD=
- ACCESS_CONTROL_ALLOW_ORIGINS=*
- FACEBOOK_CLIENT_ID=2217545521807140
- FACEBOOK_CLIENT_SECRET=30388a26240dc507790719347d927f1d
- FIREBASE_DATABASE_URL=https://bot-platform-dev.firebaseio.com
- MONGODB_RS=
- FIREBASE_SERVICE_ACCOUNT_FILE_PATH=/etc/firebase-service-account/serviceAccountKey.json
depends_on:
- mongodb-service

volumes:
node-module:
driver: local
creator-server-mongodb-data:
driver: local`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment