Predix_Logo
  • Categories
    • Questions
    • Predix | Updates
      • Pricing
      • Product
    • Deloitte - Private
    • How-To
    • Accenture-Private
  • Explore
    • Topics
    • Questions
    • Articles
    • Feedback or Feature Requests
  • Sign in
  • Home /
  • Questions /
avatar image
0
Question by sreelal.hamsavahanan@xe04.ey.com · Feb 19, 2018 at 10:31 PM · asset-servicemobile-service

Not able to sync data between Asset Micorservice - CouchDB - Mobile service - Mobile app

Dear team,

I am currenlty working on a simple mobile app which consumes predix service to show some asset information.For this I am following the samples : https://github.com/PredixDev/MobileExample-Microservice-AssetIntegration and link text https://github.com/PredixDev/MobileExample-WebApp-AssetIntegration

Following are the steps done :

1 . Configure UAA and bind with app 2. Configure Mobile service and bind with app 3. Create asset instance and bind it with app 4. Post some sample asset information to asset instance and tested it using Rest client.Request and Response in working fine and able to see the uploaded asset informartion 5. Download the sample microservice and run it locally

Issue Running the mobile app is not showing the asset data Tapping on the Refresh button is returning only the attached data (returnedData.pdf) I tried debugging the nodeJS sample microservice and it seems that, some "Not Found" error is showing on the "updateAssetsDoc" method in PG-SG-Service.js. Attached the screenshot(error.png) and Following is the error showing in this method :

description:"couch returned 404" errid:"non_200" error:"not_found" alt text Thanks

error.jpg (229.1 kB)
returneddata.pdf (17.4 kB)
Comment
Add comment
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

  • Sort: 
avatar image
0

Answer by Tom Turner · Jul 16, 2018 at 11:17 PM

@Jeremy.Osterhoudt@ge.com any thoughts on this older question?

Comment
Add comment · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

100 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Mobile App not fetching Asset data 1 Answer

Asset Service using Cassandra 4 Answers

Fails with GET from POSTMAN of Asset Service [PA_ZAC_FAILED] 4 Answers

Regarding Time Series tags and their case sensitivity 2 Answers

Predix Asset Service - Dump or Clone tool yet? 1 Answer

GE Monogram
  • Legal
  • Cookies
  • Forum Terms
  • Contact Us
  • Copyright © 2017 General Electric Company. All rights reserved.


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Submit your feedback or feature request
  • Categories
  • Questions
  • Predix | Updates
    • Pricing
    • Product
  • Deloitte - Private
  • How-To
  • Accenture-Private
  • Explore
  • Topics
  • Questions
  • Articles
  • Feedback or Feature Requests