0

Writing a SharePoint list to delta file format and I get this error- list index out of range. I have included all the required columns to be fetched from sharepoint and check the datatype when writing it using StructType.

df_columns = t.StructType([ t.StructField("column1", t.StringType(), True), t.StructField("column2", t.StringType(), True), t.StructField("column3", t.StringType(), True) ]) 

Description of Sharepoint site list settings.

This is the sharepoint list settings page. column1,column2,column 3 are the required fields with datatype as shown. There's the default title column, but I'm not using that, and neither is it required.

Earlier I got the URL forbidden error, once I put in the current set of credentials, it moved to this error.

Why am I still getting this error?

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.