Comments (7)
So now doing it this way you get the data from airtable using .select()? I don't know what I am doing wrong but I can update, remove, and create new records in airtable but I can't seem to get them unless I use find.
This question seems out of scope for this issue ticket. I recommend asking in the Airtable community forums or on Stack Overflow. Or for an example of how I've used .select() successfully you can check one of my projects here.
from airtable.java.
Im having the same problem, did you find a solution?
from airtable.java.
The workaround I used was this. I added two logging libraries to my projects in build.gradle:
dependencies {
...
// Provides a logger implementation for airtable.java to get rid of warning
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.25'
// Use log4j logging to be able to turn off spurious warnings from libraries
compile group: 'log4j', name: 'log4j', version: '1.2.17'
...
}
and I put this in src/main/resources/log4j.properties
# Root logger option
log4j.rootLogger=INFO, stdout
# Direct log messages to stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
# Remove spurious cookie headers warning
log4j.logger.org.apache.http.client.protocol.ResponseProcessCookies=FATAL
from airtable.java.
from airtable.java.
According to the posts here https://stackoverflow.com/questions/36473478/fixing-httpclient-warning-invalid-expires-attribute-using-fluent-api
this is an issue that originates in the Apache HTTP client. There is a proposed solution of setting the cookie spec to "standard":
HttpClient httpClient = HttpClients.custom() .setDefaultRequestConfig(RequestConfig.custom() .setCookieSpec(CookieSpecs.STANDARD).build()) .build();
from airtable.java.
There's a good looking list of solutions to this problem based on which library and which syntax is used to create the Http Client on this page: https://www.lenar.io/invalid-cookie-header-invalid-expires-attribute/
from airtable.java.
It looks like airtable.java uses Unirest for http calls. Unirest updated in 2019 to fix this error.
I've attempted to figure out all the necessary changes in pull request #52 but the integration tests are a challenge for an outsider to run, so I'm not sure if I missed anything.
from airtable.java.
Related Issues (20)
- Proxy: support of user/password
- Create new Data in Airtable Lookup,Linked Feilds? HOT 4
- More than 100 records in resultest HOT 2
- Add Integration Tests to build job
- I have problems creating an Airtable Object HOT 1
- need video
- Unexpected NOT FOUND error when select()ing a table with a accented name HOT 1
- Android HTTP AllowAllHostnameVerifier Error HOT 1
- Release in Maven HOT 3
- Support for abstract class inheritance
- Table warns about using @SerializedName even if you already are using it HOT 6
- Examples
- Getting record id from table HOT 1
- Error when trying to update HOT 1
- JCenter Shutdown HOT 1
- Migrate from Travis to Github Actions
- [Doc] add vitepress GitHub-Page for documentation
- Support new auth requirements HOT 1
- Deprecated Api keys? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airtable.java.