Code Monkey home page Code Monkey logo

Comments (4)

tflanagan avatar tflanagan commented on September 27, 2024

Hey,

I have not run into this before, are you able to see find any errors?

Before executing your code, could you set the environment variable "debug" to "quickbase:*" and report the logged output?

set debug=quickbase:*

Thanks,

from node-quickbase.

tflanagan avatar tflanagan commented on September 27, 2024

Haven't heard anything, I'm assuming you found the solution in your implementation.

from node-quickbase.

robwhite4 avatar robwhite4 commented on September 27, 2024

I recently ran into this same problem. I know this issue is closed, but there does seem to be an issue somewhere. I hope I can help, but I must say upfront that I'm not a professional developer, just a hobby-hacker. ;)

So, I'm using the Add_Record method in an express app. Running locally for testing, here is my output from the logs (cleaned up a bit for ease of reading):

quickbase:request 0 {
hostname: 'hiddenToProtectTheInnocent.quickbase.com',
port: 443,
path: '/db/hiddenToProtectTheInnocent?act=API_AddRecord',
method: 'POST',
headers: {
'Content-Type': 'application/xml; charset=ISO-8859-1',
'QUICKBASE-ACTION': 'API_AddRecord'
},
agent: false
}
<?xml version="1.0" encoding="UTF-8"?>
<qdbapi>
<dbid>hiddenToProtectTheInnocent</dbid>
<disprec>false</disprec>
<fform>false</fform>
<ignoreError>false</ignoreError>
<msInUTC>false</msInUTC>
<usertoken>hiddenToProtectTheInnocent</usertoken>
<encoding>ISO-8859-1</encoding>
<field fid="14">John</field>
<field fid="16">Doe</field>
<field fid="56" />
<field fid="53" />
<field fid="206">none</field>
<field fid="207">None</field>
<field fid="208">None</field>
<field fid="25" />
<field fid="26" />
<field fid="210">[email protected]</field>
<field fid="209">$2b$12$nu0/b.uaPqUrUGx1l9RsXOJk5MSZAgy9/r2RAidgfyy.IkyakYTYa</field>
<field fid="211">on</field>
<field fid="212">on</field>
</qdbapi> +0ms
quickbase: response 0  +387ms

quickbase:request 1{
hostname: 'hiddenToProtectTheInnocent.quickbase.com',
port: 443,
path: '/db/hiddenToProtectTheInnocent?act=API_AddRecord',
method: 'POST',
headers:
{ 'Content-Type': 'application/xml; charset=ISO-8859-1',
'QUICKBASE-ACTION': 'API_AddRecord' },
agent: false }
<?xml version="1.0" encoding="UTF-8"?>
<qdbapi>
<dbid>hiddenToProtectTheInnocent</dbid>
<disprec>false</disprec>
<fform>false</fform>
<ignoreError>false</ignoreError>
<msInUTC>false</msInUTC>
<usertoken>hiddenToProtectTheInnocent</usertoken>
<encoding>ISO-8859-1</encoding>
<field fid="14">John</field>
<field fid="16">Doe</field>
<field fid="56">C555555</field>
<field fid="53">55</field>
<field fid="206">dual</field>
<field fid="207">Grade 3</field>
<field fid="208">Grade 2</field>
<field fid="25">(555) 555-5555</field>
<field fid="26">(555) 555-5555</field>
<field fid="210">[email protected]</field>
<field fid="209">$2b$12$NyxdsknIwA3Sk/Mdrk.rqOP/JAE35nDop.f3lDSYFx3XXnzFqBmba</field>
<field fid="211">on</field>
<field fid="212">on</field>
</qdbapi> +14m
quickbase:response 1  +562ms

There are two attempts at adding records detailed above. I've removed some data so as not to share any secrets. There is no response from either. If I try to log the response to the console, I don't get undefined or anything. Just a blank spot where some choice data should be.

I am wondering if there might be an issue with SSL, stemming from the port:443 feedback up there ^^.

Again, I'm not a true dev, but that line sticks out to me given the difficulty Chrome has recently introduced in firing up a secure localhost. I'm probably wrong, but if not I'm going to use my guess as proof to my dev friends that I'm better than they are at life in general.. haha

I hope this provides you some info so we can figure this out. I have a workaround in mind, but it would be nice to just feed that rid into my sessions or wherever else from the result of this type of call.

Please let me know if I can be of further assistance.

I love this package!! Thank you so much for creating it! :)

~Rob

from node-quickbase.

robwhite4 avatar robwhite4 commented on September 27, 2024

I forgot to also mention that the records are successfully added to QuickBase.

Just FYI.

Thanks again,

~Rob

from node-quickbase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.